<?php
namespace app\index\model;
use \think\Model;

class Categroy extends Model {
    protected $pk = 'id';
    protected $table = 'sdb_categroy';
    public function shops()
    {
        return $this->hasMany('Shop');
    }
}